package com.firepongo.awosome.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.firepongo.awosome.api.data.ChaosUserData;
import com.firepongo.awosome.api.entity.ChaosUser;
import com.firepongo.chaos.model.data.UpdateData;
import com.firepongo.chaos.model.dto.mu.MU;
import com.firepongo.chaos.model.dto.page.PageList;
import com.firepongo.chaos.model.dto.page.PageQueryDto;
import com.firepongo.chaos.model.service.login.IWxLoginUserService;

import java.util.List;

/**
 * @author G.G
 * @since 2020-11-17
 */
public interface IChaosUserService extends IService<ChaosUser>, IWxLoginUserService {

    MU insertModel(ChaosUserData data);

    boolean deleteModel(MU data);

    boolean updateModelByMU(UpdateData<ChaosUserData> data);

    ChaosUserData selectByMU(MU data);

    List<ChaosUserData> selectByData(ChaosUserData data);

    PageList<ChaosUserData> selectByPage(PageQueryDto<ChaosUserData> pageData);
}
